/*
 * @Author: chenyuanming
 * @Date: 2022-04-06 11:49:01
 * @LastEditTime: 2022-04-11 13:02:37
 * @LastEditors: chenyuanming
 */
import React,{Component} from "react";
import ReactEcharts from 'echarts-for-react';
export default class MyEcharts extends Component {
    render() {
      
        const { option} = this.props;
        const width=this.props.width
        const height=this.props.height
    
        return (
            <ReactEcharts option={option} style={{width: width, height: height}}></ReactEcharts>
        );
    }
}
